package com.cosina.game.tetri.engine.impl.shape;

import com.cosina.game.tetri.engine.Point;
import com.cosina.game.tetri.engine.impl.BaseShapeImpl;

public class LongShape extends BaseShapeImpl{
	static Point[]  contentA = new Point[]{Point.c(0,0),Point.c(1,0),Point.c(2,0),Point.c(3,0)};
	static Point[]  contentB = new Point[]{Point.c(0,0),Point.c(0,1),Point.c(0,2),Point.c(0,3)};

	Point[] currentContent = contentB;
	@Override
	public void doTransfrom() {
		if(currentContent == contentA){
			currentContent = contentB;
		}else{
			currentContent = contentA;
		}
	}

	@Override
	public Point[] getContent() {
		return currentContent;
	}

}
